'''
Created on Mar 17, 2012

@author: phuongdongbk
'''
dic = {}
while(True):
   
    key = raw_input("Nhap tu khoa:")
    if dic.has_key(key):
        print "Definition is: ", dic[key]
    else:
        print "Not exists in dictionary. Please type definition:"
        defi = raw_input()
        dic[key] = defi
        print "Inserted."
    ques =""
    while(True):
        ques = raw_input("Continue or not, yes/no")
        if(ques == "no" or  ques =="yes"):
            break
    if ques =="no":
        break    
    
print (dic)